//
// Copyright (c) Mitac Corporation.  All rights reserved.
//
//
//  Programmer: Visual.Wei
//  Date: 2007-3-28
//
//
#ifndef __BSP_PAGEMENU_H
#define __BSP_PAGEMENU_H


typedef struct __PageMenuItem
{
	OAL_BLMENU_ITEM *pItem;
	WORD line;
}PageMenuItem;
typedef struct __PageMenu
{
	WORD Prefocus;//linenumber
	WORD focus;//line number
	PageMenuItem item[20];//it is enough
	WORD nrMenuItem;//Menu Item number
}PageMenu;

void PageStart();

#ifdef EBOOT_NO_LCD

#define SHOW_SETTING_START()
#define SHOW_SETTING_END()

#else
#define SHOW_SETTING_START() \
	PageStart();

#define SHOW_SETTING_END() \
	printk(L"\r\n  release key ...\r\n"); \
	while(IsChordKeyPressed(KEY_TACTION, 1));
#endif

#endif
